package cn.attackme.myuploader.service;

import cn.attackme.myuploader.model.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    User getUser(String username);

    int save(User user);

    int update(User user);

    int delete(String username);

    User login(String username,String password);
    List<Map<String,Object>> findAll();
}
